<?php
echo $_COOKIE["name"];
echo $_COOKIE["password"];
//全局匹配 $_COOKIE["name"] ，$_COOKIE["password"] == "123456"
if($_COOKIE["name"] == "我恶中" && $_COOKIE["password"] == "123456") {
    echo date("Y-m-d H:i:s",time());
}else{
    echo "登录失败";
}